package com.gyh.system.sys.entity;

import java.util.Date;

import com.gyh.system.common.persistence.BaseEntity;

public class User extends BaseEntity<User>{
	private static final long serialVersionUID = -9126946679886374398L;
	
	private String nickname;
	
	private String userName;
	
	private String password;
	
	private Date createTime;
	
	private String creator;
	
	public User() {
	}

	public User(Long id) {
		super(id);
	}

	public User(String userName) {
		this.userName = userName;
	}

	public User(Long id, String userName){
		super(id);
		this.userName = userName;
	}
	
	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}
	
	
}
